net/http.ServeMux.matchOrRedirect (method)
4 uses
net/http (current package)
server.go#L2595: _, _, u := mux.matchOrRedirect(host, r.Method, path, r.URL)
server.go#L2601: n, matches, _ = mux.matchOrRedirect(r.Host, r.Method, path, nil)
server.go#L2611: n, matches, u = mux.matchOrRedirect(host, r.Method, path, r.URL)
server.go#L2647: func (mux *ServeMux) matchOrRedirect(host, method, path string, u *url.URL) (_ *routingNode, matches []string, redirectTo *url.URL) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |